import java.util.Comparator;


public class CompareJourneyCost implements Comparator<Journey> {
public int  compare (Journey j1, Journey j2){
	Double cost1 = j1.getBill();
	Double cost2 = j2.getBill();
	return cost1.compareTo(cost2);
}
}
